package org.jeecg.modules.flowable.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.flowable.dto.FlowTaskOperationDTO;
import org.jeecg.modules.flowable.entity.FlowInstance;
import org.jeecg.modules.flowable.query.FlowTaskQuery;
import org.jeecg.modules.flowable.vo.FlowTaskVO;

import java.util.Map;

public interface FlowTaskService {

    /**
     * 待办列表
     */
    Result<Page<FlowTaskVO>> todoList(FlowTaskQuery query);

    /**
     * 审批
     */
    Result<Void> complete(FlowTaskOperationDTO operationDTO);

    /**
     * 否决
     */
    Result<Void> veto(FlowTaskOperationDTO operationDTO);


}
